<div class="silk-cms-lightbox-header">
    <h3><tal:block tal:content="type/name|default"/> <tal:block i18n:translate="string:Permissions"/></h3>
</div>


<div class="silk-cms-tabs">
    <ul>
	<li><a href="#role-permissions" i18n:translate="string:Roles"></a></li>
	<li><a href="#user-permissions" i18n:translate="string:Users"></a></li>
    </ul>
    <div id="role-permissions" tal:content="structure php:this.renderPartial('type/role_permissions', array('type' => type, 'privileges' => privileges, 'roles' => roles, 'resource' => resource))"></div>
    <div id="user-permissions" tal:content="structure php:this.renderPartial('type/user_permissions', array('type' => type, 'privileges' => privileges, 'resource' => resource, 'users' => users))"></div>
</div>